-
Home
-
Barcode Scanner (+Mobile App) – Inventory manager, Order fulfillment system, POS (Point of Sale)
-
1.1.7
-
Code
-
Classes
- CartActions
Total Complexity |
165 |
Dependencies |
6 |
Dependents |
3 |
Total lines |
704 |
Lines of code |
511 |
Logical lines of code |
332 |
Comment lines |
0 |
Methods |
21 |
Properties |
4 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
addItemToCart() |
D |
34 |
42 |
81 |
orderCreate() |
C |
34 |
24 |
83 |
addItem() |
A |
43 |
11 |
43 |
updateQuantity() |
A |
45 |
11 |
40 |
wcSession() |
A |
49 |
10 |
30 |
restoreCart() |
A |
49 |
10 |
29 |
findProductInCart() |
A |
59 |
10 |
13 |
getWcCheckoutErrors() |
A |
56 |
8 |
18 |
changeQuantityInCart() |
S |
54 |
7 |
20 |
setOrderTotal() |
S |
57 |
7 |
17 |
formatPriceForUpdate() |
S |
57 |
5 |
18 |
getWcErrors() |
S |
61 |
5 |
12 |
getShippingMethod() |
S |
62 |
4 |
11 |
removeItem() |
S |
57 |
2 |
17 |
getCartDetails() |
S |
54 |
1 |
21 |
getCartItems() |
S |
63 |
2 |
10 |
initFieldPrice() |
S |
68 |
2 |
7 |
cartRecalculate() |
S |
61 |
1 |
13 |
updateAttributes() |
S |
62 |
1 |
12 |
getStatuses() |
S |
69 |
1 |
7 |
cartClear() |
S |
66 |
1 |
9 |